package com.chuanyekeji.aokai.Util;

/**
 * 检查对象非空或者字符串非空
 */
public class CheckNull {
    public static boolean isNull(Object obj) {
        if(obj == null) {
            return false;
        } else if(obj instanceof String) {
            String s = (String)obj;
            if(s.equals("")) {
                return false;
            }
        }
        return true;
    }
}
